public class Cat {
    String name;//猫的名字
    int age;//猫的年龄
    String color;//猫的颜色

    //猫的叫声
    public void braks() {
        System.out.println("喵喵~");
    }

    //猫的基本属性
    public void base(String name, int age, String color) {
        this.name = name;
        this.age = age;
        this.color = color;
    }

    public void print() {
        System.out.println("名字：" + this.name);
        System.out.println("年龄：" + this.age);
        System.out.println("颜色：" + this.color);
        System.out.println("*****************************************");
    }

}
